package com.ts.gateway;

import org.springframework.util.AntPathMatcher;

public class Demo {

    public static void main(String[] args) {
        AntPathMatcher antPathMatcher = new AntPathMatcher();
        String url = "sms/info/{id}";
        String url2 = "http://localhost:8080/sms/info?id=10&age=20";



        boolean match = antPathMatcher.match(url, url2);
        System.out.println(match);
    }
}
